<?php
$strTableName="tbl_tin_tuc";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="tbl_tin_tuc";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT tbl_tin_tuc.id,  tbl_tin_tuc.tieu_de,  tbl_tin_tuc.hinh_anh,  tbl_tin_tuc.mo_ta_ngan_gon,  tbl_tin_tuc.mo_ta_chi_tiet,  tbl_tin_tuc.ma_danh_muc_tin_tuc,  tbl_tin_tuc.trangchu,  tbl_danh_muc_tin_tuc.ten_danh_muc_tin_tuc,  tbl_danh_muc_tin_tuc.id AS danhmucid";
$gsqlFrom="FROM tbl_tin_tuc  INNER JOIN tbl_danh_muc_tin_tuc ON tbl_danh_muc_tin_tuc.id = tbl_tin_tuc.ma_danh_muc_tin_tuc";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/tbl_tin_tuc_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_tbl_tin_tuc;
$eventObj = &$tableEvents["tbl_tin_tuc"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>